Clover coverage report - bexee - 0.1
Coverage timestamp: Do Dez 16 2004 13:24:06 CET
file stats: LOC: 63   Methods: 5
NCLOC: 26   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
VariablesImpl.java - 80% 80% 80%
coverage coverage
 1   
 /*
 2   
  * $Id: VariablesImpl.java,v 1.1 2004/12/15 14:18:12 patforna Exp $
 3   
  *
 4   
  * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
 5   
  * Berne University of Applied Sciences
 6   
  * School of Engineering and Information Technology
 7   
  * All rights reserved.
 8   
  */
 9   
 package bexee.model.elements.impl;
 10   
 
 11   
 import java.util.ArrayList;
 12   
 import java.util.List;
 13   
 
 14   
 import bexee.core.ProcessController;
 15   
 import bexee.core.ProcessInstance;
 16   
 import bexee.model.BPELElementVisitor;
 17   
 import bexee.model.elements.Variable;
 18   
 import bexee.model.elements.Variables;
 19   
 
 20   
 /**
 21   
  * Default implementation of the <code>Variables</code> BPEL element.
 22   
  * 
 23   
  * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
 24   
  * @author Patric Fornasier
 25   
  * @author Pawel Kowalski
 26   
  */
 27   
 public class VariablesImpl implements Variables {
 28   
 
 29   
     private List variables;
 30   
 
 31   
     //**************************************************/
 32   
     // c'tors
 33   
     //**************************************************/
 34   
 
 35  30
     public VariablesImpl() {
 36  30
         variables = new ArrayList();
 37   
     }
 38   
 
 39   
     //**************************************************/
 40   
     // bexee.model.elements.Variables
 41   
     //**************************************************/
 42   
 
 43  134
     public void addVariable(Variable variable) {
 44  134
         variables.add(variable);
 45   
     }
 46   
 
 47  14
     public List getVariables() {
 48  14
         return variables;
 49   
     }
 50   
 
 51   
     //**************************************************/
 52   
     // bexee.model.BPELElement
 53   
     //**************************************************/
 54   
 
 55  4
     public void accept(ProcessController controller, ProcessInstance instance)
 56   
             throws Exception {
 57  4
         controller.process(this, instance);
 58   
     }
 59   
 
 60  0
     public void accept(BPELElementVisitor elementVisitor) {
 61  0
         elementVisitor.visit(this);
 62   
     }
 63   
 }